<template>
  <div class="header">
    <div class="warpper">
      <div class="header-content">
        <div class="left">
          <div class="iconbgc" @click="funy()">
            <i class="iconfont icon-ziyuan87"></i>
          </div>
          <div id="text-box">
            <p id="p-text">云村村民16306...</p>
            <div class="vip-content">
              <span class="vip">开通vip</span>
              <span class="verson">Lv.0</span>
            </div>
          </div>
        </div>
        <i class="iconfont icon-youjiantou"></i>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods:{
    funy(){ 
      this.$router.push("/cuimin")
    }
  }
};
</script>

<style  scoped>
.header {
  /* 修改后的 */
  padding-top: 1.4rem;
  width: 100%;
  /* height: 1.21rem; */
  /* background-color: white; */
  background-color: #f4f4f4;
}
.warpper {
  margin: 0 auto;
  width: 5.86rem;
  height: 100%;
}
.header-content {
  /* 修改后的高 */
  height: 1.4rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.left {
  width: 3rem;
  display: flex;
  justify-content: space-between;
}
.iconbgc {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background-color: #ff3c38;
  text-align: center;
}

i {
  font-size: 0.5rem;
  color: black;
  line-height: 00.6rem;
}
.vip {
  width: 1rem;
  height: 0.3rem;
  background-color: #9b9b9b;
  line-height: 0.3rem;
  border-radius: 0.1rem;
  text-align: center;
}
.vip-content {
  display: flex;
  justify-content: space-between;
}
</style>